import request from '@/utils/request';

//活动列表
export  function pageConditionQueryByCreatorId(params) {
  return request('/campus/campusweb/activity/pageConditionQueryByCreatorId', {
    method: 'POST',
    data: params,
  });
}
export  function queryAddressForFourLinkage(params) {
  return request('/campus/campusweb/address/queryAddressForFourLinkage', {
    method: 'POST',
    data: params,
  });
}
//保存草稿
export  function saveDrafts(params) {
  return request('/campus/campusweb/activity/saveDrafts', {
    method: 'POST',
    data: params,
  });
}
//编辑回显
export  function queryByUpdate(params) {
  return request('/campus/campusweb/activity/queryByUpdate', {
    method: 'POST',
    data: params,
  });
}
//活动批量删除
export  function batchDeleteActivity(params) {
  return request('/campus/campusweb/activity/batchDeleteActivity', {
    method: 'POST',
    data: params,
  });
}
//创建活动
export  function addActivity(params) {
  return request('/campus/campusweb/activity/addActivity', {
    method: 'POST',
    data: params,
  });
}












